package com.julian.facadePattern;

import com.julian.orderPattern.Light;

public class HomeTheaterTestDrive {
    public static void main(String[] args) {
        Amplifier amplifier = new Amplifier();
        Tuner tuner = new Tuner();
        DvdPlayer dvdPlayer =  new DvdPlayer();
        CdPlayer cdPlayer = new CdPlayer();
        Projector projector = new Projector();
        TheaterLights lights = new TheaterLights();
        Screen screen = new Screen();
        PopcornPopper popcornPopper = new PopcornPopper();
        HomeTheaterFacade theaterFacade = new HomeTheaterFacade(amplifier,tuner,dvdPlayer,
                cdPlayer,projector,lights,screen,popcornPopper);

        theaterFacade.wacthMovie("Pride And Bios");
        theaterFacade.endMovie();
    }
}
